<?php
/**
 * CreateTime: 2023/11/28 15:38
 * User:LinQ
 */

namespace App\Models\Logs;

use App\Models\BasicModel;

class CustomersOperateLogModel extends BasicModel
{
    protected $table = 'customers_operate_log';

    protected $primaryKey = 'operate_log_id';

    protected $fillable = [
        'operate_log_id',
        'owner_id',
        'operate_output_data',
        'operate_input_data',
        'operate_type',
        'operate_source_type',
        'operate_source_id',
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'operate_log_id' => 'integer',
        'owner_id' => 'integer',
        'operate_input_data' => 'array',
        'operate_output_data' => 'array',
        'operate_type' => 'string',
        'operate_source_type' => 'string',
        'operate_source_id' => 'integer',
        'created_at' => 'string',
        'updated_at' => 'string',
    ];

    protected $hidden = [
        'created_at',
        'updated_at',
    ];
}